<%@ page language="java" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<base href="${base}"/>
	<meta charset="UTF-8"/>
	<title>谭岚的个人简历 - 人才系统</title>
	<link rel="shortcut icon" href="//favicon.ico"/>
	<link href="styles/common.css" rel="stylesheet" type="text/css"/>
	<link href="styles/css.css" rel="stylesheet" type="text/css"/>
</head>
<link rel="stylesheet" href="layui/css/layui.css"  media="all">
<script src="layui/layui.js" charset="utf-8"></script>
<script src="js/jquery-2.0.3.js"></script>
<script>
	var resumeid = '${resume.id}';
	var userid = '${resume.userId}';
	layui.use('layer', function(){
		var $ = layui.jquery, layer = layui.layer;
		var active = {
			notice: function () {
				//示范一个公告层
				layer.open({
					type: 1
					,
					title: false //不显示标题栏
					,
					closeBtn: false
					,
					area: '500px;'
					,
					shade: 0.8
					,
					id: 'LAY_layuipro' //设定一个id，防止重复弹出
					,
					btn: ['确定发出面试邀请', '取消']
					,
					btnAlign: 'c'
					,
					moveType: 1 //拖拽模式，0或者1
					,
					content: '<div style="padding: 50px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;" xmlns="http://www.w3.org/1999/html">请选择面试时间：<input type="datetime-local" id="time"/></br>请填写面试地点：<input type="text" id="address"/></br>请选择面试工作：\n' +
							'      <select name="interest" lay-filter="aihao" id="se">\n' +
							'      </select>\n' +
							'   </div>'
					,
					yes: function(index, layero){
						console.log($("#time").val());
						console.log($("#address").val());
						console.log($("#se").val());
						console.log(resumeid);
						$.ajax({
							type: "POST",
							url: "interview/addone",
							contentType:"application/json",
							data: JSON.stringify({
								time:$("#time").val(),
								address:$("#address").val(),
								resumeId: resumeid,
								workId:$("#se").val(),
								userId:userid
							}),
							success: function(msg){
								console.log(msg)
								if (msg.code=="200"){
									location.href="interview/list/0"
								}
							}
						});
					},
					success: function(layero, index){
						$.ajax({
							type: "POST",
							url: "job/list",
							datatype: "JSON",
							success: function(msg){

								for(let i of msg.data){

									$("#se").html(
											"        <option value="+i.id+">"+i.name+"</option>\n" +
											"       ")
								}

							}
						})
					}
				});
			}
		}
		$('.layui-btn').on('click', function(){
			var othis = $(this), method = othis.data('method');
			active[method] ? active[method].call(this, othis) : '';
		});
	})</script>
<body>
<table border="0" align="center" cellpadding="0" cellspacing="0"
	   class="resume_show">
	<tr>
		<td class="link_lan">&nbsp;&nbsp;<a href="">人才系统</a></td>
		<td class="link_bku top_a"><a href="">网站首页</a> <a
				href="javascript:window.print();">打印简历</a> <a
				href="javascript:void(0)" class="add_resume_pool">添加到人才库</a> <a
				href="javascript:void(0)" id="addpms">发短消息</a> <a
				href="javascript:void(0)" id="newbuddy">加为好友</a></td>
	</tr>
</table>
<table border="1" align="center" cellpadding="7" cellspacing="1"
	   bgcolor="#CCCCCC" class="resume_show">
	<tr>
		<td colspan="5" bgcolor="#FFFFFF" class="btit">
			<div class="qrcode">
				<img src="images/user/url_qrcode.png" alt="二维码"/>
			</div>

			<h1>${resume.realName}的个人简历</h1>
			<div class="tip">
				<span style="color: #009900">更新日期：2019-08-12</span> <br/> 学历：${resume.education}
				&nbsp;&nbsp;工作经验：${resume.salaryExpectation}&nbsp;&nbsp;浏览：12<span class="click"></span>次
			</div>
		</td>
	</tr>
	<tr>
		<td colspan="5" bgcolor="#FAFAFA" class="title"><strong>基本信息</strong></td>
	</tr>
	<tr>
		<td width="80" align="right" bgcolor="#FAFAFA">真实姓名：</td>
		<td bgcolor="#FFFFFF">${resume.realName}</td>
		<td width="80" align="right" bgcolor="#FAFAFA">性别：</td>
		<td bgcolor="#FFFFFF"><c:choose>
			<c:when test="${resume.gender eq 'M'}">男</c:when>
			<c:otherwise>女</c:otherwise>
		</c:choose></td>
		<td width="140" rowspan="6" align="center" bgcolor="#FFFFFF"><img
				src="${resume.photo}" width="120" height="150"/></td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">年龄：</td>
		<td bgcolor="#FFFFFF">23 岁</td>
		<td align="right" bgcolor="#FAFAFA">身高：</td>
		<td bgcolor="#FFFFFF">${resume.height}</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">婚姻状况：</td>
		<td bgcolor="#FFFFFF">${resume.marriage}</td>
		<td align="right" bgcolor="#FAFAFA">户籍所在：</td>
		<td bgcolor="#FFFFFF">${resume.region}</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">最高学历：</td>
		<td bgcolor="#FFFFFF">${resume.education}</td>
		<td align="right" bgcolor="#FAFAFA">工作经验：</td>
		<td bgcolor="#FFFFFF">${resume.workExp}</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">联系地址：</td>
		<td bgcolor="#FFFFFF">${resume.address}</td>
		<td align="right" bgcolor="#FAFAFA">浏览次数：</td>
		<td bgcolor="#FFFFFF"><span class="click">12</span>次</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">刷新时间：</td>
		<td bgcolor="#FFFFFF">2013-08-12</td>
		<td align="right" bgcolor="#FAFAFA">简历等级：</td>
		<td bgcolor="#FFFFFF">普通</td>
	</tr>
</table>
<table border="1" align="center" cellpadding="7" cellspacing="1"
	   bgcolor="#CCCCCC" class="resume_show">
	<tr>
		<td colspan="2" bgcolor="#FAFAFA" class="title"><strong>求职意向</strong></td>
	</tr>
	<tr>
		<td width="120" align="right" bgcolor="#FAFAFA">最近工作过的职位：</td>
		<td bgcolor="#FFFFFF">教师</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">期望岗位性质：</td>
		<td bgcolor="#FFFFFF">全职</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">期望工作地：</td>
		<td bgcolor="#FFFFFF">${resume.address}</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">期望月薪：</td>
		<td bgcolor="#FFFFFF">${resume.salaryExpectation}/月</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">期望从事的岗位：</td>
		<td bgcolor="#FFFFFF">电子商务</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">期望从事的行业：</td>
		<td bgcolor="#FFFFFF">计算机软件/硬件</td>
	</tr>
</table>
<table border="1" align="center" cellpadding="7" cellspacing="1"
	   bgcolor="#CCCCCC" class="resume_show">
	<tr>
		<td colspan="2" bgcolor="#FAFAFA" class="title"><strong>技能特长</strong></td>
	</tr>
	<tr>
		<td width="80" align="right" bgcolor="#FAFAFA">技能特长：</td>
		<td bgcolor="#FFFFFF">${resume.skill}</td>
	</tr>
</table>
<table border="1" align="center" cellpadding="7" cellspacing="1"
	   bgcolor="#CCCCCC" class="resume_show">
	<tr>
		<td colspan="2" bgcolor="#FAFAFA" class="title"><strong>教育经历</strong></td>
	</tr>
	<tr>
		<td colspan="2" bgcolor="#FAFAFA"><strong>北京 </strong>(本科)</td>
	</tr>
	<tr>
		<td width="80" align="right" bgcolor="#FAFAFA">起止年月：</td>
		<td bgcolor="#FFFFFF">2004年1月至2004年2月&nbsp;</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">学校名称：</td>
		<td bgcolor="#FFFFFF">北京</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">专业名称：</td>
		<td bgcolor="#FFFFFF">1212</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">获得学历：</td>
		<td bgcolor="#FFFFFF">本科</td>
	</tr>
</table>
<table border="1" align="center" cellpadding="7" cellspacing="1"
	   bgcolor="#CCCCCC" class="resume_show">
	<tr>
		<td colspan="2" bgcolor="#FAFAFA" class="title"><strong>工作经历</strong></td>
	</tr>
	<tr>
		<td colspan="2" bgcolor="#FAFAFA"><strong>3131</strong> - 323123</td>
	</tr>
	<tr>
		<td width="80" align="right" bgcolor="#FAFAFA">起止日期：</td>
		<td bgcolor="#FFFFFF">2006年1月至2011年2月&nbsp;</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">企业名称：</td>
		<td bgcolor="#FFFFFF">3131</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">从事职位：</td>
		<td bgcolor="#FFFFFF">323123</td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">业绩表现：</td>
		<td bgcolor="#FFFFFF"></td>
	</tr>
	<tr>
		<td align="right" bgcolor="#FAFAFA">企业介绍：</td>
		<td bgcolor="#FFFFFF">3213</td>
	</tr>
</table>
<table border="1" align="center" cellpadding="7" cellspacing="1"
	   bgcolor="#CCCCCC" class="resume_show">
	<tr>
		<td colspan="2" bgcolor="#FAFAFA" class="title"><strong>培训经历</strong></td>
	</tr>
	<tr>
		<td colspan="2" bgcolor="#FFFFFF">没有填写培训经历。</td>
	</tr>
</table>

<table border="1" align="center" cellpadding="7" cellspacing="1"
	   bgcolor="#CCCCCC" class="resume_show resume_contact">
	<tr>
		<td bgcolor="#FAFAFA" class="title"><strong>联系方式</strong></td>
	</tr>
	<tr>
		<td bgcolor="#FFFFFF">
			<div id="resume_contact">
				<div class="contact link_lan">
					企业会员请 <a href="login.jsp">登录</a> 查看联系方式！如果您不是企业会员，请先 <a
						href="register.jsp">免费注册</a>
				</div>
				<ul>
					<li>联 系 人：谭岚</li>
					<li>联系电话：13652548785</li>
					<li>联系邮箱：tl_smile@qq.com</li>
					<li>联系Q Q：</li>
					<li>联系地址：chengdu,china</li>
					<li>个人主页/博客：</li>
				</ul>
				<div align="center">
					<br> <button data-method="notice" class="layui-btn" style="position: relative;top:10px">面试邀请</button>
				</div>
				<div align="center">
					<br>
					<span class="add_resume_pool">[添加到人才库]</span> <br>
					<br>
				</div>
			</div>
		</td>
	</tr>
</table>
<table height="100" border="0" align="center" cellpadding="0"
	   cellspacing="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>
<table height="100" border="0" align="center" cellpadding="0"
	   cellspacing="0">
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>
</body>
</html>